package com.sc.nft.entity.vo.mall;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class RefundValuationVO {

    @ApiModelProperty(value = "退款金额")
    private String refundPrice;

    public void setRefundPrice(BigDecimal refundPrice) {
        this.refundPrice = refundPrice.setScale(2,BigDecimal.ROUND_DOWN).toPlainString();
    }
}
